<!DOCTYPE html>
<html>
<head>
    <title>{{$title}}</title>
    <!--<link rel="shortcut icon" href="/Images/Global/Logo_40.png" type="image/x-icon">-->
    <!--<link href="/layui/css/layui.css" rel="stylesheet" />-->
    <link rel="stylesheet" href="__STATIC__/layui/css/layui.css">
    <link href="__STATIC__/admin/css/adminindex.css" rel="stylesheet" />

    <!--<script type="text/javascript" src="__ROOT__/Public/Home/js/jquery.js" ></script>-->
    <!--<link href="__ROOT__/Public/Home/css/index.css" rel="stylesheet"  type="text/css"/>-->

</head>
<body>
<div class="mask"></div>
<div class="main">
    <h1><span style="font-size: 84px;">FLY</span><span style="font-size:30px;">论坛</span></h1>
    <p id="time"></p>


    <div id="table_login" style="margin:0 auto; width:500px; ">
        <form name="loginForm" id="Login_loginForm" method="post" action="{{:url('Logindo/logindo')}}" >
            <div class="layui-form-item" style="margin-left: 60px">
                <label class="layui-form-label">账号</label>
                <div class="layui-input-inline">
                    <input type="text" name="name"   lay-verify="required" placeholder="请输入账号" autocomplete="off" class="layui-input">
                </div>
            </div>
            <div class="layui-form-item" style="margin-left: 60px">
                <label class="layui-form-label">密码</label>
                <div class="layui-input-inline">
                    <input type="password" name="pwd"  lay-verify="required" placeholder="请输入密码" autocomplete="off" class="layui-input">
                </div>
                <!-- <div class="layui-form-mid layui-word-aux">辅助文字</div> -->
            </div>

            <button class="layui-btn"  style="width:200px;margin-left: 10px" lay-submit="" lay-filter="btnSubmit">立即登录</button>
        </form>
    </div>



</div>

<!---->
<!--</div>-->
<!---->
<script src="__STATIC__/layui/layui.js"></script>
<script type="text/javascript">
    function systemTime() {
        //获取系统时间。
        var dateTime = new Date();
        var year = dateTime.getFullYear();
        var month = dateTime.getMonth() + 1;
        var day = dateTime.getDate();
        var hh = dateTime.getHours();
        var mm = dateTime.getMinutes();
        var ss = dateTime.getSeconds();

        //分秒时间是一位数字，在数字前补0。
        mm = extra(mm);
        ss = extra(ss);

        //将时间显示到ID为time的位置，时间格式形如：19:18:02
        document.getElementById("time").innerHTML = year + "-" + month + "-" + day + " " + hh + ":" + mm + ":" + ss;
        //每隔1000ms执行方法systemTime()。
        setTimeout("systemTime()", 1000);
    }

    //补位函数。
    function extra(x) {
        //如果传入数字小于10，数字前补一位0。
        if (x < 10) {
            return "0" + x;
        }
        else {
            return x;
        }
    }
    systemTime();

    //注意：折叠面板 依赖 element 模块，否则无法进行功能性操作
    layui.use('element', function(){
        var element = layui.element;
    });
</script>
</body>
</html>






